package com.suse.jd_system_server.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 图片表(Img)实体类
 *
 * @author makejava
 * @since 2023-10-19 11:28:32
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Img implements Serializable {
    private static final long serialVersionUID = -30425406164777950L;
    
    private Long imgId;
    /**
     * 所属酒店id，此处两个id二选一
     */
    private Long hotelId;
    /**
     * 所属房间id，两个id二选一
     */
    private Long roomId;
    /**
     * 图片地址
     */
    private String imgUrl;
    /**
     * 是否为酒店图片，0否1是
     */
    private Integer isHotel;

}

